<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<script type="text/javascript" src="../resources/js/jquery.min.js"></script>

<link rel="stylesheet" href="../resources/css/add.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../resources/utilLib/bootstrap.min.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../resources/css/index.css" type="text/css" media="screen" />

<script type="text/javascript" src="../resources/js/jquery.min.js"></script>
<script type="text/javascript" src="../resources/js/tendina.min.js"></script>
<script type="text/javascript" src="../resources/js/common.js"></script>

</head>
<body>
<!--顶部-->
    <div class="layout_top_header" >
            <div style="float: left"><span style="font-size: 16px;line-height: 45px;padding-left: 20px;color: #8d8d8d">学生后台管理系统</h1></span></div>
            <div id="ad_setting" class="ad_setting">
<a class="ad_setting_a" href="javascript:; " target="f1top">
                    <i class="icon-user glyph-icon" style="font-size: 20px"></i>
                    <span>${username}</span>
                </a>
                <ul class="dropdown-menu-uu" style="display: none" id="ad_setting_ul">
                    <li class="ad_setting_ul_li"> <a href="../student/editlogin"><i class="icon-user glyph-icon"></i> 个人中心 </a> </li>
                    <li class="ad_setting_ul_li"> <a href="../student/logout"><i class="icon-signout glyph-icon"></i> <span class="font-bold">退出</span> </a> </li>
                </ul> 
            </div>
    </div>
   <!--菜单-->
    <div class="layout_left_menu">
        <ul id="menu">
            <li class="childUlLi">
               <a href="#"><i class="glyph-icon icon-home"></i>管理员信息管理</a>
                <ul>
                    <li><a href="../student/addlogin"><i class="glyph-icon icon-chevron-right"></i>添加管理员</a></li>
                </ul>
            </li>
            <li class="childUlLi">
                <a href="user.html"> <i class="glyph-icon icon-reorder"></i>学生管理</a>
                <ul>
                    <li><a href="../student/list"><i class="glyph-icon icon-chevron-right"></i>显示学生信息</a></li>
                    <li><a href="../student/add"><i class="glyph-icon icon-chevron-right"></i>添加学生</a></li>
                </ul>
            </li>
            <li class="childUlLi">
                <a href="role.html"> <i class="glyph-icon icon-reorder"></i>教师管理</a>
                <ul>
                    <li><a href="../teacher/tlist"><i class="glyph-icon icon-chevron-right"></i>显示教师信息</a></li>
                    <li><a href="../teacher/tadd"><i class="glyph-icon icon-chevron-right"></i>添加教师</a></li>
                </ul>
            </li>
            <li class="childUlLi">
                <a href="user.html"> <i class="glyph-icon icon-reorder"></i>课程管理</a>
                <ul>
                    <li><a href="../course/clist"><i class="glyph-icon icon-chevron-right"></i>显示课程信息</a></li>
                    <li><a href="../course/cadd"><i class="glyph-icon icon-chevron-right"></i>添加课程</a></li>
                </ul>
            </li>
            
            <li class="childUlLi">
                <a href="user.html"> <i class="glyph-icon icon-reorder"></i>校园卡管理</a>
                <ul>
                    <li><a href="../managercard/mclist"><i class="glyph-icon icon-chevron-right"></i>显示校园卡信息</a></li>
                </ul>
            </li>
        </ul>
    </div>
    <!--菜单-->
    
    <div id="layout_right_content" class="layout_right_content">

        <div class="route_bg">
            <a href="#">校园卡管理</a><i class="glyph-icon icon-chevron-right"></i>
            <a href="#">显示校园卡信息</a>
        </div>
        <div class="mian_content">
            <div id="page_content">
            <div class="div_from_aoto">
              <table class="table table-bordered table-hover">
		<thead>
			<tr>
				<th>学号</th>
				<th>姓名</th>
				<th>班级</th>
				<th>专业</th>
				<th>余额</th>
			</tr>
		</thead>
		<tbody>
			<core:forEach var="mc" items="${mcs}">
				<tr>
					<td>${mc.sid}</td>
					<td>${mc.sname}</td>
					<td>${mc.sclass}</td>
					<td>${mc.smajor}</td>
					<td>${mc.balance}</td>
				</tr>
			</core:forEach>
		</tbody>
		
	</table>
	</div>
	</div>
	</div>
	</div>
</body>
</html>